package com.cy1640.damai.ui.recommand;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

import com.cy1640.damai.R;

import butterknife.Bind;
import butterknife.ButterKnife;

public class DividerView extends LinearLayout {

    @Bind(R.id.divider_line)
    View dividerLine;
    @Bind(R.id.divider_rect)
    View dividerRect;

    public DividerView(Context context) {
        super(context);
        init();
    }

    public DividerView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public void init() {
        LayoutInflater.from(getContext()).inflate(R.layout.divider_view, this, true);
        ButterKnife.bind(this,this);
    }
}
